FILE_CASE_SENSITIVE_SEARCH					=	0x00000001
FILE_CASE_PRESERVED_NAMES					=	0x00000002
FILE_UNICODE_ON_DISK						=	0x00000004
FILE_PERSISTENT_ACLS						=	0x00000008
FILE_FILE_COMPRESSION						=	0x00000010
FILE_VOLUME_QUOTAS							=	0x00000020
FILE_SUPPORTS_SPARSE_FILES					=	0x00000040
FILE_SUPPORTS_REPARSE_POINTS				=	0x00000080
FILE_SUPPORTS_REMOTE_STORAGE				=	0x00000100
FS_LFN_APIS									=	0x00004000
FILE_VOLUME_IS_COMPRESSED					=	0x00008000
FILE_SUPPORTS_OBJECT_IDS					=	0x00010000
FILE_SUPPORTS_ENCRYPTION					=	0x00020000
FILE_NAMED_STREAMS							=	0x00040000
FILE_READ_ONLY_VOLUME						=	0x00080000
FILE_SEQUENTIAL_WRITE_ONCE					=	0x00100000
FILE_SUPPORTS_EXTENDED_ATTRIBUTES			=	0x00800000
FILE_SUPPORTS_HARD_LINKS					=	0x00400000
FILE_SUPPORTS_OPEN_BY_FILE_ID				=	0x01000000
FILE_SUPPORTS_TRANSACTIONS					=	0x00200000
FILE_SUPPORTS_USN_JOURNAL					=	0x02000000


# File Attributes
FILE_ATTRIBUTE_READONLY 					=	0x00000001      
FILE_ATTRIBUTE_HIDDEN 						=	0x00000002      
FILE_ATTRIBUTE_SYSTEM 						=	0x00000004      
FILE_ATTRIBUTE_DIRECTORY 					=	0x00000010      
FILE_ATTRIBUTE_ARCHIVE 						=	0x00000020      
FILE_ATTRIBUTE_DEVICE 						=	0x00000040      
FILE_ATTRIBUTE_NORMAL 						=	0x00000080      
FILE_ATTRIBUTE_TEMPORARY 					=	0x00000100      
FILE_ATTRIBUTE_SPARSE_FILE 					=	0x00000200      
FILE_ATTRIBUTE_REPARSE_POINT 				=	0x00000400      
FILE_ATTRIBUTE_COMPRESSED 					=	0x00000800      
FILE_ATTRIBUTE_OFFLINE 						=	0x00001000      
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 			=	0x00002000      
FILE_ATTRIBUTE_ENCRYPTED 					=	0x00004000
FILE_ATTRIBUTE_VIRTUAL						=	0x00010000

# File Flags
FILE_FLAG_BACKUP_SEMANTICS					=	0x02000000
FILE_FLAG_DELETE_ON_CLOSE					=	0x04000000
FILE_FLAG_NO_BUFFERING						=	0x20000000
FILE_FLAG_OPEN_NO_RECALL					=	0x00100000
FILE_FLAG_OPEN_REPARSE_POINT				=	0x00200000
FILE_FLAG_OVERLAPPED						=	0x40000000
FILE_FLAG_POSIX_SEMANTICS					=	0x01000000
FILE_FLAG_RANDOM_ACCESS						=	0x10000000
FILE_FLAG_SEQUENTIAL_SCAN					=	0x08000000
FILE_FLAG_WRITE_THROUGH						=	0x80000000

# ImpersonationLevel flags
SECURITY_ANONYMOUS							=	0
SECURITY_IDENTIFICATION						=	1
SECURITY_IMPERSONATION						=	2
SECURITY_DELEGATION							=	3

# Security Flags
SECURITY_CONTEXT_TRACKING					=	0x01
SECURITY_EFFECTIVE_ONLY						=	0x02

# Share Mode
FILE_SHARE_DELETE							=	0x00000004
FILE_SHARE_READ								=	0x00000001
FILE_SHARE_WRITE							= 	0x00000002

# Creation Disposition
CREATE_NEW									=	1
CREATE_ALWAYS								=	2
OPEN_EXISTING								=	3
OPEN_ALWAYS									=	4
TRUNCATE_EXISTING							=	5

# Access Mask
GENERIC_READ								=	0x80000000
GENERIC_WRITE								=	0x40000000
GENERIC_EXECUTE								=	0x20000000
GENERIC_ALL									=	0x10000000

ERROR_INVALID_PARAMETER						=	87
ERROR_DISK_FULL								=	112
ERROR_INVALID_NAME							=	123
ERROR_DIR_NOT_EMPTY							=	145
ERROR_NOT_LOCKED							=	158
ERROR_ALREADY_EXISTS						=	183
ERROR_EAS_DIDNT_FIT							=	275
ERROR_EAS_NOT_SUPPORTED						=	282

ERROR_FILE_EXISTS							=	80
ERROR_FILE_NOT_FOUND						=	2

INVALID_HANDLE_VALUE						=	0xFFFFFFFF

MAX_PATH									=	0x00000104
